package com.itheima.io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class IODemo05 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("day11_IO\\a.txt");
        int b ;
        while ((b = fis.read())!=-1){
            System.out.println((char)b);
        }
    }
}
